Skip to content

chore: prepare release 0.21.1 #1056

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 15, 2024
Merged

chore: prepare release 0.21.1 #1056

merged 1 commit into from
Jun 15, 2024

Conversation

dbanty
Copy link
Collaborator

@dbanty dbanty commented Jun 15, 2024

This PR was created by Knope. Merging it will create a new release

Features

Support request body refs

You can now define and reuse bodies via refs, with a document like this:

paths:
  /something:
    post:
      requestBody:
        "$ref": "#/components/requestBodies/SharedBody"
components:
  requestBodies:
    SharedBody:
      content:
        application/json:
          schema:
            type: string

Thanks to @kigawas and @supermihi for initial implementations and @RockyMM for the initial request.

Closes #633, closes #664, resolves #595.

Fixes

@dbanty dbanty merged commit cb32c30 into main Jun 15, 2024
20 checks passed
@dbanty dbanty deleted the release branch June 15, 2024 19:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The requestBody declared with $ref is not generating json_body
1 participant